package com.matrix.api.merchant.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author 有点甜
 * @since 2025/7/28
 */
@Data
public class ShopUpdateDTO {
    @NotBlank(message = "店铺LOGO不能为空")
    private String logoUrl;

    @NotBlank(message = "店铺名称不能为空")
    @Size(max = 100, message = "店铺名称不能超过100个字符")
    private String shopName;

    @Size(max = 500, message = "店铺简介不能超过500个字符")
    private String description;

    @NotBlank(message = "营业时间不能为空")
    @Size(max = 100, message = "营业时间格式不正确")
    private String businessHours;

    @NotBlank(message = "联系电话不能为空")
    private String contactPhone;

    @NotBlank(message = "详细地址不能为空")
    private String addressDetail;

    @NotNull(message = "纬度不能为空")
    private BigDecimal locationLatitude;

    @NotNull(message = "经度不能为空")
    private BigDecimal locationLongitude;

}
